package com.leonzhangxf.bucksdemo.order.domain;

import com.leonzhangxf.bucksdemo.order.domain.value.OrderId;
import org.springframework.lang.Nullable;

public interface OrderRepository {

    void saveOrder(Order order);

    void updateOrder(Order order);

    @Nullable
    Order getById(OrderId orderId);
}
